<script>
$.post('{{ urlfor "ProductsController.GetOptions"}}',{'fields':['goods_lens_genre','goods_unit_info' ]}, function(res){
	setattroption('Genre',res.data.goods_lens_genre);

	setattroption('Unit',res.data.goods_unit_info);
});
function setSelectDefault(id) {
	switch(id){
		case 'Genre':$('#Genre').val('{{.m.Genre}}');break;
		case 'Unit':$('#Unit').val('{{.m.Unit}}');break;
	};
	$("select").trigger('changed.selected.amui');
}

</script>
{{template "./products/prozl/p.html" .}}

